Skip to main content

vaccinatorfieldplan

Table: vaccinatorfieldplan

The vaccinatorfieldplan table stores information about the planned field visits of vaccinators, including coverage area, date, and associated staff.

Columns

Column NameData TypeConstraintsDescription
vaccinatorFieldPlanIdint(11)NOPrimary key identifying each field plan
catchmentPopulationvarchar(255)YESPopulation covered in the field plan area
createdDatedatetimeYESTimestamp when the field plan was created
fieldDatedateYESDate of the planned field visit
fieldVisitAreavarchar(255)YESArea where the field visit is scheduled
isLhwAccompaniedtinyint(1)YESFlag indicating if a Lady Health Worker (LHW) is accompanying
lastEditedDatedatetimeYESTimestamp when the record was last edited
lhwNamevarchar(255)YESName of the accompanying LHW, if any
mappedIdint(11)NOReference to the vaccinator’s mapped ID
voidedtinyint(1)YESFlag indicating if the record is voided
voidedDatedatetimeYESTimestamp when the record was voided
voidedReasonvarchar(255)YESReason for voiding the record
createdByUserIdint(11)YESUser who created the record
editedByUserIdint(11)YESUser who last edited the record
idMapper_mappedIdint(11)YESReference ID from idmapper, if applicable
vaccinatorIdint(11)YESReference to the vaccinator

Indexes

  • vaccinatorFieldPlanId_createdByuser_fk — Index on createdByUserId
  • vaccinatorFieldPlan_editedByuser_fk — Index on editedByUserId
  • vaccinatorFieldPlan_mappedId_pk_fk_idx — Index on mappedId
  • vaccinator_fieldPlan — Index on vaccinatorId

Foreign Key Relations

  • createdByUserId → user.mappedId
  • editedByUserId → user.mappedId
  • vaccinatorId → vaccinator.mappedId

Usage Notes

  • Defines vaccinator field visit schedules and assignments.
  • Tracks coverage areas and staff involvement (e.g., LHW accompaniment).
  • Used for planning, monitoring, and auditing field vaccination activities.